﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleScript
{
    internal enum LexicalType
    {
        /// <summary>
        /// 无意义
        /// </summary>
        None = -1,

        #region 运算符
        /// <summary>
        /// 加
        /// </summary>
        Add,
        /// <summary>
        /// 减
        /// </summary>
        Sub,
        /// <summary>
        /// 乘
        /// </summary>
        Mul,
        /// <summary>
        /// 除
        /// </summary>
        Div,
        /// <summary>
        /// 余
        /// </summary>
        Mod,

        /// <summary>
        /// 等于
        /// </summary>
        Equ,

        #endregion

        #region 标识符
        Identifier,
        #endregion

        #region 关键字
        /// <summary>
        /// 整数
        /// </summary>
        Int,
        /// <summary>
        /// 小数
        /// </summary>
        Float,
        /// <summary>
        /// 字符串
        /// </summary>
        String,

        /// <summary>
        /// 输入
        /// </summary>
        Input,
        /// <summary>
        /// 输出
        /// </summary>
        Output,
        /// <summary>
        /// 临时
        /// </summary>
        Temp,
        #endregion

        #region 字面量
        /// <summary>
        /// 整型
        /// </summary>
        LInt,
        /// <summary>
        /// 小型
        /// </summary>
        LFloat,
        /// <summary>
        /// 串型
        /// </summary>
        LString
        #endregion
    }
}
